import { defineConfig } from '@umijs/max';
import proxy from './proxy';
import routes from './routes';

export default defineConfig({
  antd: {},
  access: {},
  model: {},
  initialState: {},
  request: {},
  layout: {},
  routes,
  npmClient: 'npm',
  // 开发环境代理配置
  proxy: process.env.NODE_ENV === 'development' ? proxy : undefined,
});
